package com.suli.account.service;

import com.suli.account.entity.RealTimeAnnounce;
import com.baomidou.mybatisplus.extension.service.IService;

import java.util.Map;

/**
 * <p>
 *  服务类
 * </p>
 *
 * @author SuLi
 * @since 2022-04-17
 */
public interface RealTimeAnnounceService extends IService<RealTimeAnnounce> {

    /**
     * 分页获取公告列表
     * @param page 页码
     * @param limit 条数
     * @return 公告列表
     */
    Map<String,Object> getRealAnnounce(Long page,Long limit);
}
